import * as ActionType from './ActionType'
export default (state={},action)=>{
    switch (action.type){
        case ActionType.LISTDATA:
            return {
                action:{
                    type:action.type,
                    text:action.text
                },
                pddApi:action.pageData
            }
        default:
            return state;
    }
}